<template>
  <div class="topNav">
    <div class="topLeft">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-daohang"></use>
      </svg>
    </div>
    <div class="topContent">
      <span @click="$router.push('/infoUser')">我的</span>
      <span class="active">发现</span>
      <span>云村</span>
      <span>视频</span>
    </div>
    <div class="topRight">
      <svg
        class="icon"
        aria-hidden="true"
        @click="$router.push('/searchMusic')"
      >
        <use xlink:href="#icon-sousuo"></use>
      </svg>
    </div>
  </div>
</template>
<script setup>
</script>
<style lang='scss' scoped>
.topNav {
  display: flex;
  height: 1rem;
  justify-content: space-between;
  align-items: center;
  .topContent {
    display: flex;
    height: 0.6rem;
    width: 65%;
    justify-content: space-around;
    font-size: 0.36rem;
    .active {
      font-weight: 800;
    }
  }
}
</style>
